package com.atguigu08.constructor.exer1;


/**
 * ClassName: StudentTest
 * Package: com.atguigu08.constructor.exer1
 * Description:
 *
 * @Author 姜
 * @Create 2023/11/20 19:11
 * @Version 1.0
 */
public class StudentTest {
    public static void main(String[] args) {
        Student s1 = new Student("坤坤", 24, "中国坤坤大学", "爱坤学");
        System.out.println(s1.getInfo());
        Student s2 = new Student("抹茶妹妹", 28, "抹茶大学");
        System.out.println(s2.getInfo());
    }
}
